﻿namespace WMS6.Web.InboundServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Runtime.CompilerServices;
    using System.Runtime.Serialization;

    [Serializable, DebuggerStepThrough, DataContract(Name="ReceiptDetailInfo", Namespace="http://schemas.datacontract.org/2004/07/WMS6.DataEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class ReceiptDetailInfo : IExtensibleDataObject, INotifyPropertyChanged
    {
        [OptionalField]
        private decimal AdjustedQtyField;
        [OptionalField]
        private string AltSkuIDField;
        [OptionalField]
        private decimal CaseCntField;
        [OptionalField]
        private string CaseIDField;
        [OptionalField]
        private string ConditionCodeField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private DateTime CreatedDateField;
        [OptionalField]
        private string CrossDockIDField;
        [OptionalField]
        private float CubeField;
        [OptionalField]
        private string DispositionCodeField;
        [OptionalField]
        private string DispositionTypeField;
        [OptionalField]
        private DateTime EffectiveDateField;
        [OptionalField]
        private decimal ExpectedQtyField;
        [OptionalField]
        private DateTime ExpiryDateField;
        [OptionalField]
        private float ExtendedPriceField;
        [NonSerialized]
        private ExtensionDataObject extensionDataField;
        [OptionalField]
        private string ExternalLotField;
        [OptionalField]
        private string ExternLineIDField;
        [OptionalField]
        private string ExternReceiptIDField;
        [OptionalField]
        private string FromLocField;
        [OptionalField]
        private string FromLpnIDField;
        [OptionalField]
        private float GrossWgtField;
        [OptionalField]
        private decimal HadReceivedQtyField;
        [OptionalField]
        private decimal InnerPackField;
        [OptionalField]
        private string IsGenPutAwayField;
        [OptionalField]
        private string IsPalletizedField;
        [OptionalField]
        private string LotAttr01Field;
        [OptionalField]
        private string LotAttr02Field;
        [OptionalField]
        private string LotAttr03Field;
        [OptionalField]
        private string LotAttr04Field;
        [OptionalField]
        private string LotAttr05Field;
        [OptionalField]
        private string LotAttr06Field;
        [OptionalField]
        private string LotAttr07Field;
        [OptionalField]
        private string LotAttr08Field;
        [OptionalField]
        private string LotAttr09Field;
        [OptionalField]
        private string LotAttr10Field;
        [OptionalField]
        private string LpnIDField;
        [OptionalField]
        private string MatchLottableField;
        [OptionalField]
        private float NetWgtField;
        [OptionalField]
        private float OtherUnit1Field;
        [OptionalField]
        private float OtherUnit2Field;
        [OptionalField]
        private string OwnerIDField;
        [OptionalField]
        private string PackIDField;
        [OptionalField]
        private decimal PalletField;
        [OptionalField]
        private string PalletIDField;
        [OptionalField]
        private string PoIDField;
        [OptionalField]
        private int PoLineIDField;
        [OptionalField]
        private DateTime ProduceDateField;
        [OptionalField]
        private string QcAutoAdjustField;
        [OptionalField]
        private decimal QcInspectedQtyField;
        [OptionalField]
        private decimal QcRejectedQtyField;
        [OptionalField]
        private string QcRejReasonField;
        [OptionalField]
        private string QcRequiredField;
        [OptionalField]
        private string QcStatusField;
        [OptionalField]
        private string QcUserField;
        [OptionalField]
        private string ReasonCodeField;
        [OptionalField]
        private DateTime ReceiptDateField;
        [OptionalField]
        private string ReceiptIDField;
        [OptionalField]
        private int ReceiptLineIDField;
        [OptionalField]
        private ReceiptLotInfo ReceiptLotField;
        [OptionalField]
        private DateTime ReceivedDateField;
        [OptionalField]
        private decimal ReceivedQtyField;
        [OptionalField]
        private decimal RejectedQtyField;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private string ReturnConditionField;
        [OptionalField]
        private string ReturnReasonField;
        [OptionalField]
        private string ReturnTypeField;
        [OptionalField]
        private string RmaField;
        [OptionalField]
        private int RowIDField;
        [OptionalField]
        private string SkuDescrField;
        [OptionalField]
        private string SkuIDField;
        [OptionalField]
        private string StatusDField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string TariffIDField;
        [OptionalField]
        private string ToLocField;
        [OptionalField]
        private string ToLotField;
        [OptionalField]
        private string ToLpnIDField;
        [OptionalField]
        private byte[] TsField;
        [OptionalField]
        private string TypeField;
        [OptionalField]
        private string Udf10Field;
        [OptionalField]
        private string Udf1Field;
        [OptionalField]
        private string Udf2Field;
        [OptionalField]
        private string Udf3Field;
        [OptionalField]
        private string Udf4Field;
        [OptionalField]
        private string Udf5Field;
        [OptionalField]
        private string Udf6Field;
        [OptionalField]
        private string Udf7Field;
        [OptionalField]
        private string Udf8Field;
        [OptionalField]
        private string Udf9Field;
        [OptionalField]
        private float UnitPriceField;
        [OptionalField]
        private string UomIDField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private DateTime UpdatedDateField;
        [OptionalField]
        private string VendorIDField;
        [OptionalField]
        private string VendorNameField;
        [OptionalField]
        private string WhIDField;

        public event PropertyChangedEventHandler PropertyChanged;

        protected void RaisePropertyChanged(string propertyName)
        {
            PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
            if (propertyChanged != null)
            {
                propertyChanged(this, new PropertyChangedEventArgs(propertyName));
            }
        }

        [DataMember]
        public decimal AdjustedQty
        {
            get
            {
                return this.AdjustedQtyField;
            }
            set
            {
                if (!this.AdjustedQtyField.Equals(value))
                {
                    this.AdjustedQtyField = value;
                    this.RaisePropertyChanged("AdjustedQty");
                }
            }
        }

        [DataMember]
        public string AltSkuID
        {
            get
            {
                return this.AltSkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AltSkuIDField, value))
                {
                    this.AltSkuIDField = value;
                    this.RaisePropertyChanged("AltSkuID");
                }
            }
        }

        [DataMember]
        public decimal CaseCnt
        {
            get
            {
                return this.CaseCntField;
            }
            set
            {
                if (!this.CaseCntField.Equals(value))
                {
                    this.CaseCntField = value;
                    this.RaisePropertyChanged("CaseCnt");
                }
            }
        }

        [DataMember]
        public string CaseID
        {
            get
            {
                return this.CaseIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CaseIDField, value))
                {
                    this.CaseIDField = value;
                    this.RaisePropertyChanged("CaseID");
                }
            }
        }

        [DataMember]
        public string ConditionCode
        {
            get
            {
                return this.ConditionCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ConditionCodeField, value))
                {
                    this.ConditionCodeField = value;
                    this.RaisePropertyChanged("ConditionCode");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    this.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public DateTime CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!this.CreatedDateField.Equals(value))
                {
                    this.CreatedDateField = value;
                    this.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string CrossDockID
        {
            get
            {
                return this.CrossDockIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CrossDockIDField, value))
                {
                    this.CrossDockIDField = value;
                    this.RaisePropertyChanged("CrossDockID");
                }
            }
        }

        [DataMember]
        public float Cube
        {
            get
            {
                return this.CubeField;
            }
            set
            {
                if (!this.CubeField.Equals(value))
                {
                    this.CubeField = value;
                    this.RaisePropertyChanged("Cube");
                }
            }
        }

        [DataMember]
        public string DispositionCode
        {
            get
            {
                return this.DispositionCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DispositionCodeField, value))
                {
                    this.DispositionCodeField = value;
                    this.RaisePropertyChanged("DispositionCode");
                }
            }
        }

        [DataMember]
        public string DispositionType
        {
            get
            {
                return this.DispositionTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DispositionTypeField, value))
                {
                    this.DispositionTypeField = value;
                    this.RaisePropertyChanged("DispositionType");
                }
            }
        }

        [DataMember]
        public DateTime EffectiveDate
        {
            get
            {
                return this.EffectiveDateField;
            }
            set
            {
                if (!this.EffectiveDateField.Equals(value))
                {
                    this.EffectiveDateField = value;
                    this.RaisePropertyChanged("EffectiveDate");
                }
            }
        }

        [DataMember]
        public decimal ExpectedQty
        {
            get
            {
                return this.ExpectedQtyField;
            }
            set
            {
                if (!this.ExpectedQtyField.Equals(value))
                {
                    this.ExpectedQtyField = value;
                    this.RaisePropertyChanged("ExpectedQty");
                }
            }
        }

        [DataMember]
        public DateTime ExpiryDate
        {
            get
            {
                return this.ExpiryDateField;
            }
            set
            {
                if (!this.ExpiryDateField.Equals(value))
                {
                    this.ExpiryDateField = value;
                    this.RaisePropertyChanged("ExpiryDate");
                }
            }
        }

        [DataMember]
        public float ExtendedPrice
        {
            get
            {
                return this.ExtendedPriceField;
            }
            set
            {
                if (!this.ExtendedPriceField.Equals(value))
                {
                    this.ExtendedPriceField = value;
                    this.RaisePropertyChanged("ExtendedPrice");
                }
            }
        }

        [Browsable(false)]
        public ExtensionDataObject ExtensionData
        {
            get
            {
                return this.extensionDataField;
            }
            set
            {
                this.extensionDataField = value;
            }
        }

        [DataMember]
        public string ExternalLot
        {
            get
            {
                return this.ExternalLotField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalLotField, value))
                {
                    this.ExternalLotField = value;
                    this.RaisePropertyChanged("ExternalLot");
                }
            }
        }

        [DataMember]
        public string ExternLineID
        {
            get
            {
                return this.ExternLineIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternLineIDField, value))
                {
                    this.ExternLineIDField = value;
                    this.RaisePropertyChanged("ExternLineID");
                }
            }
        }

        [DataMember]
        public string ExternReceiptID
        {
            get
            {
                return this.ExternReceiptIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternReceiptIDField, value))
                {
                    this.ExternReceiptIDField = value;
                    this.RaisePropertyChanged("ExternReceiptID");
                }
            }
        }

        [DataMember]
        public string FromLoc
        {
            get
            {
                return this.FromLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FromLocField, value))
                {
                    this.FromLocField = value;
                    this.RaisePropertyChanged("FromLoc");
                }
            }
        }

        [DataMember]
        public string FromLpnID
        {
            get
            {
                return this.FromLpnIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FromLpnIDField, value))
                {
                    this.FromLpnIDField = value;
                    this.RaisePropertyChanged("FromLpnID");
                }
            }
        }

        [DataMember]
        public float GrossWgt
        {
            get
            {
                return this.GrossWgtField;
            }
            set
            {
                if (!this.GrossWgtField.Equals(value))
                {
                    this.GrossWgtField = value;
                    this.RaisePropertyChanged("GrossWgt");
                }
            }
        }

        [DataMember]
        public decimal HadReceivedQty
        {
            get
            {
                return this.HadReceivedQtyField;
            }
            set
            {
                if (!this.HadReceivedQtyField.Equals(value))
                {
                    this.HadReceivedQtyField = value;
                    this.RaisePropertyChanged("HadReceivedQty");
                }
            }
        }

        [DataMember]
        public decimal InnerPack
        {
            get
            {
                return this.InnerPackField;
            }
            set
            {
                if (!this.InnerPackField.Equals(value))
                {
                    this.InnerPackField = value;
                    this.RaisePropertyChanged("InnerPack");
                }
            }
        }

        [DataMember]
        public string IsGenPutAway
        {
            get
            {
                return this.IsGenPutAwayField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsGenPutAwayField, value))
                {
                    this.IsGenPutAwayField = value;
                    this.RaisePropertyChanged("IsGenPutAway");
                }
            }
        }

        [DataMember]
        public string IsPalletized
        {
            get
            {
                return this.IsPalletizedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsPalletizedField, value))
                {
                    this.IsPalletizedField = value;
                    this.RaisePropertyChanged("IsPalletized");
                }
            }
        }

        [DataMember]
        public string LotAttr01
        {
            get
            {
                return this.LotAttr01Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr01Field, value))
                {
                    this.LotAttr01Field = value;
                    this.RaisePropertyChanged("LotAttr01");
                }
            }
        }

        [DataMember]
        public string LotAttr02
        {
            get
            {
                return this.LotAttr02Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr02Field, value))
                {
                    this.LotAttr02Field = value;
                    this.RaisePropertyChanged("LotAttr02");
                }
            }
        }

        [DataMember]
        public string LotAttr03
        {
            get
            {
                return this.LotAttr03Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr03Field, value))
                {
                    this.LotAttr03Field = value;
                    this.RaisePropertyChanged("LotAttr03");
                }
            }
        }

        [DataMember]
        public string LotAttr04
        {
            get
            {
                return this.LotAttr04Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr04Field, value))
                {
                    this.LotAttr04Field = value;
                    this.RaisePropertyChanged("LotAttr04");
                }
            }
        }

        [DataMember]
        public string LotAttr05
        {
            get
            {
                return this.LotAttr05Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr05Field, value))
                {
                    this.LotAttr05Field = value;
                    this.RaisePropertyChanged("LotAttr05");
                }
            }
        }

        [DataMember]
        public string LotAttr06
        {
            get
            {
                return this.LotAttr06Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr06Field, value))
                {
                    this.LotAttr06Field = value;
                    this.RaisePropertyChanged("LotAttr06");
                }
            }
        }

        [DataMember]
        public string LotAttr07
        {
            get
            {
                return this.LotAttr07Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr07Field, value))
                {
                    this.LotAttr07Field = value;
                    this.RaisePropertyChanged("LotAttr07");
                }
            }
        }

        [DataMember]
        public string LotAttr08
        {
            get
            {
                return this.LotAttr08Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr08Field, value))
                {
                    this.LotAttr08Field = value;
                    this.RaisePropertyChanged("LotAttr08");
                }
            }
        }

        [DataMember]
        public string LotAttr09
        {
            get
            {
                return this.LotAttr09Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr09Field, value))
                {
                    this.LotAttr09Field = value;
                    this.RaisePropertyChanged("LotAttr09");
                }
            }
        }

        [DataMember]
        public string LotAttr10
        {
            get
            {
                return this.LotAttr10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.LotAttr10Field, value))
                {
                    this.LotAttr10Field = value;
                    this.RaisePropertyChanged("LotAttr10");
                }
            }
        }

        [DataMember]
        public string LpnID
        {
            get
            {
                return this.LpnIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LpnIDField, value))
                {
                    this.LpnIDField = value;
                    this.RaisePropertyChanged("LpnID");
                }
            }
        }

        [DataMember]
        public string MatchLottable
        {
            get
            {
                return this.MatchLottableField;
            }
            set
            {
                if (!object.ReferenceEquals(this.MatchLottableField, value))
                {
                    this.MatchLottableField = value;
                    this.RaisePropertyChanged("MatchLottable");
                }
            }
        }

        [DataMember]
        public float NetWgt
        {
            get
            {
                return this.NetWgtField;
            }
            set
            {
                if (!this.NetWgtField.Equals(value))
                {
                    this.NetWgtField = value;
                    this.RaisePropertyChanged("NetWgt");
                }
            }
        }

        [DataMember]
        public float OtherUnit1
        {
            get
            {
                return this.OtherUnit1Field;
            }
            set
            {
                if (!this.OtherUnit1Field.Equals(value))
                {
                    this.OtherUnit1Field = value;
                    this.RaisePropertyChanged("OtherUnit1");
                }
            }
        }

        [DataMember]
        public float OtherUnit2
        {
            get
            {
                return this.OtherUnit2Field;
            }
            set
            {
                if (!this.OtherUnit2Field.Equals(value))
                {
                    this.OtherUnit2Field = value;
                    this.RaisePropertyChanged("OtherUnit2");
                }
            }
        }

        [DataMember]
        public string OwnerID
        {
            get
            {
                return this.OwnerIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.OwnerIDField, value))
                {
                    this.OwnerIDField = value;
                    this.RaisePropertyChanged("OwnerID");
                }
            }
        }

        [DataMember]
        public string PackID
        {
            get
            {
                return this.PackIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PackIDField, value))
                {
                    this.PackIDField = value;
                    this.RaisePropertyChanged("PackID");
                }
            }
        }

        [DataMember]
        public decimal Pallet
        {
            get
            {
                return this.PalletField;
            }
            set
            {
                if (!this.PalletField.Equals(value))
                {
                    this.PalletField = value;
                    this.RaisePropertyChanged("Pallet");
                }
            }
        }

        [DataMember]
        public string PalletID
        {
            get
            {
                return this.PalletIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PalletIDField, value))
                {
                    this.PalletIDField = value;
                    this.RaisePropertyChanged("PalletID");
                }
            }
        }

        [DataMember]
        public string PoID
        {
            get
            {
                return this.PoIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PoIDField, value))
                {
                    this.PoIDField = value;
                    this.RaisePropertyChanged("PoID");
                }
            }
        }

        [DataMember]
        public int PoLineID
        {
            get
            {
                return this.PoLineIDField;
            }
            set
            {
                if (!this.PoLineIDField.Equals(value))
                {
                    this.PoLineIDField = value;
                    this.RaisePropertyChanged("PoLineID");
                }
            }
        }

        [DataMember]
        public DateTime ProduceDate
        {
            get
            {
                return this.ProduceDateField;
            }
            set
            {
                if (!this.ProduceDateField.Equals(value))
                {
                    this.ProduceDateField = value;
                    this.RaisePropertyChanged("ProduceDate");
                }
            }
        }

        [DataMember]
        public string QcAutoAdjust
        {
            get
            {
                return this.QcAutoAdjustField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QcAutoAdjustField, value))
                {
                    this.QcAutoAdjustField = value;
                    this.RaisePropertyChanged("QcAutoAdjust");
                }
            }
        }

        [DataMember]
        public decimal QcInspectedQty
        {
            get
            {
                return this.QcInspectedQtyField;
            }
            set
            {
                if (!this.QcInspectedQtyField.Equals(value))
                {
                    this.QcInspectedQtyField = value;
                    this.RaisePropertyChanged("QcInspectedQty");
                }
            }
        }

        [DataMember]
        public decimal QcRejectedQty
        {
            get
            {
                return this.QcRejectedQtyField;
            }
            set
            {
                if (!this.QcRejectedQtyField.Equals(value))
                {
                    this.QcRejectedQtyField = value;
                    this.RaisePropertyChanged("QcRejectedQty");
                }
            }
        }

        [DataMember]
        public string QcRejReason
        {
            get
            {
                return this.QcRejReasonField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QcRejReasonField, value))
                {
                    this.QcRejReasonField = value;
                    this.RaisePropertyChanged("QcRejReason");
                }
            }
        }

        [DataMember]
        public string QcRequired
        {
            get
            {
                return this.QcRequiredField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QcRequiredField, value))
                {
                    this.QcRequiredField = value;
                    this.RaisePropertyChanged("QcRequired");
                }
            }
        }

        [DataMember]
        public string QcStatus
        {
            get
            {
                return this.QcStatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QcStatusField, value))
                {
                    this.QcStatusField = value;
                    this.RaisePropertyChanged("QcStatus");
                }
            }
        }

        [DataMember]
        public string QcUser
        {
            get
            {
                return this.QcUserField;
            }
            set
            {
                if (!object.ReferenceEquals(this.QcUserField, value))
                {
                    this.QcUserField = value;
                    this.RaisePropertyChanged("QcUser");
                }
            }
        }

        [DataMember]
        public string ReasonCode
        {
            get
            {
                return this.ReasonCodeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReasonCodeField, value))
                {
                    this.ReasonCodeField = value;
                    this.RaisePropertyChanged("ReasonCode");
                }
            }
        }

        [DataMember]
        public DateTime ReceiptDate
        {
            get
            {
                return this.ReceiptDateField;
            }
            set
            {
                if (!this.ReceiptDateField.Equals(value))
                {
                    this.ReceiptDateField = value;
                    this.RaisePropertyChanged("ReceiptDate");
                }
            }
        }

        [DataMember]
        public string ReceiptID
        {
            get
            {
                return this.ReceiptIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptIDField, value))
                {
                    this.ReceiptIDField = value;
                    this.RaisePropertyChanged("ReceiptID");
                }
            }
        }

        [DataMember]
        public int ReceiptLineID
        {
            get
            {
                return this.ReceiptLineIDField;
            }
            set
            {
                if (!this.ReceiptLineIDField.Equals(value))
                {
                    this.ReceiptLineIDField = value;
                    this.RaisePropertyChanged("ReceiptLineID");
                }
            }
        }

        [DataMember]
        public ReceiptLotInfo ReceiptLot
        {
            get
            {
                return this.ReceiptLotField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReceiptLotField, value))
                {
                    this.ReceiptLotField = value;
                    this.RaisePropertyChanged("ReceiptLot");
                }
            }
        }

        [DataMember]
        public DateTime ReceivedDate
        {
            get
            {
                return this.ReceivedDateField;
            }
            set
            {
                if (!this.ReceivedDateField.Equals(value))
                {
                    this.ReceivedDateField = value;
                    this.RaisePropertyChanged("ReceivedDate");
                }
            }
        }

        [DataMember]
        public decimal ReceivedQty
        {
            get
            {
                return this.ReceivedQtyField;
            }
            set
            {
                if (!this.ReceivedQtyField.Equals(value))
                {
                    this.ReceivedQtyField = value;
                    this.RaisePropertyChanged("ReceivedQty");
                }
            }
        }

        [DataMember]
        public decimal RejectedQty
        {
            get
            {
                return this.RejectedQtyField;
            }
            set
            {
                if (!this.RejectedQtyField.Equals(value))
                {
                    this.RejectedQtyField = value;
                    this.RaisePropertyChanged("RejectedQty");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    this.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public string ReturnCondition
        {
            get
            {
                return this.ReturnConditionField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReturnConditionField, value))
                {
                    this.ReturnConditionField = value;
                    this.RaisePropertyChanged("ReturnCondition");
                }
            }
        }

        [DataMember]
        public string ReturnReason
        {
            get
            {
                return this.ReturnReasonField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReturnReasonField, value))
                {
                    this.ReturnReasonField = value;
                    this.RaisePropertyChanged("ReturnReason");
                }
            }
        }

        [DataMember]
        public string ReturnType
        {
            get
            {
                return this.ReturnTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ReturnTypeField, value))
                {
                    this.ReturnTypeField = value;
                    this.RaisePropertyChanged("ReturnType");
                }
            }
        }

        [DataMember]
        public string Rma
        {
            get
            {
                return this.RmaField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RmaField, value))
                {
                    this.RmaField = value;
                    this.RaisePropertyChanged("Rma");
                }
            }
        }

        [DataMember]
        public int RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!this.RowIDField.Equals(value))
                {
                    this.RowIDField = value;
                    this.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SkuDescr
        {
            get
            {
                return this.SkuDescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuDescrField, value))
                {
                    this.SkuDescrField = value;
                    this.RaisePropertyChanged("SkuDescr");
                }
            }
        }

        [DataMember]
        public string SkuID
        {
            get
            {
                return this.SkuIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SkuIDField, value))
                {
                    this.SkuIDField = value;
                    this.RaisePropertyChanged("SkuID");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    this.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string StatusD
        {
            get
            {
                return this.StatusDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusDField, value))
                {
                    this.StatusDField = value;
                    this.RaisePropertyChanged("StatusD");
                }
            }
        }

        [DataMember]
        public string TariffID
        {
            get
            {
                return this.TariffIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TariffIDField, value))
                {
                    this.TariffIDField = value;
                    this.RaisePropertyChanged("TariffID");
                }
            }
        }

        [DataMember]
        public string ToLoc
        {
            get
            {
                return this.ToLocField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToLocField, value))
                {
                    this.ToLocField = value;
                    this.RaisePropertyChanged("ToLoc");
                }
            }
        }

        [DataMember]
        public string ToLot
        {
            get
            {
                return this.ToLotField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToLotField, value))
                {
                    this.ToLotField = value;
                    this.RaisePropertyChanged("ToLot");
                }
            }
        }

        [DataMember]
        public string ToLpnID
        {
            get
            {
                return this.ToLpnIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ToLpnIDField, value))
                {
                    this.ToLpnIDField = value;
                    this.RaisePropertyChanged("ToLpnID");
                }
            }
        }

        [DataMember]
        public byte[] Ts
        {
            get
            {
                return this.TsField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TsField, value))
                {
                    this.TsField = value;
                    this.RaisePropertyChanged("Ts");
                }
            }
        }

        [DataMember]
        public string Type
        {
            get
            {
                return this.TypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TypeField, value))
                {
                    this.TypeField = value;
                    this.RaisePropertyChanged("Type");
                }
            }
        }

        [DataMember]
        public string Udf1
        {
            get
            {
                return this.Udf1Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf1Field, value))
                {
                    this.Udf1Field = value;
                    this.RaisePropertyChanged("Udf1");
                }
            }
        }

        [DataMember]
        public string Udf10
        {
            get
            {
                return this.Udf10Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf10Field, value))
                {
                    this.Udf10Field = value;
                    this.RaisePropertyChanged("Udf10");
                }
            }
        }

        [DataMember]
        public string Udf2
        {
            get
            {
                return this.Udf2Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf2Field, value))
                {
                    this.Udf2Field = value;
                    this.RaisePropertyChanged("Udf2");
                }
            }
        }

        [DataMember]
        public string Udf3
        {
            get
            {
                return this.Udf3Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf3Field, value))
                {
                    this.Udf3Field = value;
                    this.RaisePropertyChanged("Udf3");
                }
            }
        }

        [DataMember]
        public string Udf4
        {
            get
            {
                return this.Udf4Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf4Field, value))
                {
                    this.Udf4Field = value;
                    this.RaisePropertyChanged("Udf4");
                }
            }
        }

        [DataMember]
        public string Udf5
        {
            get
            {
                return this.Udf5Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf5Field, value))
                {
                    this.Udf5Field = value;
                    this.RaisePropertyChanged("Udf5");
                }
            }
        }

        [DataMember]
        public string Udf6
        {
            get
            {
                return this.Udf6Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf6Field, value))
                {
                    this.Udf6Field = value;
                    this.RaisePropertyChanged("Udf6");
                }
            }
        }

        [DataMember]
        public string Udf7
        {
            get
            {
                return this.Udf7Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf7Field, value))
                {
                    this.Udf7Field = value;
                    this.RaisePropertyChanged("Udf7");
                }
            }
        }

        [DataMember]
        public string Udf8
        {
            get
            {
                return this.Udf8Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf8Field, value))
                {
                    this.Udf8Field = value;
                    this.RaisePropertyChanged("Udf8");
                }
            }
        }

        [DataMember]
        public string Udf9
        {
            get
            {
                return this.Udf9Field;
            }
            set
            {
                if (!object.ReferenceEquals(this.Udf9Field, value))
                {
                    this.Udf9Field = value;
                    this.RaisePropertyChanged("Udf9");
                }
            }
        }

        [DataMember]
        public float UnitPrice
        {
            get
            {
                return this.UnitPriceField;
            }
            set
            {
                if (!this.UnitPriceField.Equals(value))
                {
                    this.UnitPriceField = value;
                    this.RaisePropertyChanged("UnitPrice");
                }
            }
        }

        [DataMember]
        public string UomID
        {
            get
            {
                return this.UomIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UomIDField, value))
                {
                    this.UomIDField = value;
                    this.RaisePropertyChanged("UomID");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    this.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public DateTime UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!this.UpdatedDateField.Equals(value))
                {
                    this.UpdatedDateField = value;
                    this.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string VendorID
        {
            get
            {
                return this.VendorIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorIDField, value))
                {
                    this.VendorIDField = value;
                    this.RaisePropertyChanged("VendorID");
                }
            }
        }

        [DataMember]
        public string VendorName
        {
            get
            {
                return this.VendorNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.VendorNameField, value))
                {
                    this.VendorNameField = value;
                    this.RaisePropertyChanged("VendorName");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    this.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

